﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Longtop.Web.WebSite.Admin.Home.WelcomeModel>" %>

<!DOCTYPE html PUBliC "-//W3C//Dtd XHTML 1.0 transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <%=Html.Css("~/content/css/mainFrom.css") %>
</head>
<body>
    <form id="form1" runat="server">
    <div id="incontent-wel">
        <table cellspacing="0" cellpadding="0" width="100%" border="0">
            <tr>
                <td valign="top" style="height: 490px">
                    <div class="left">
                        <div class="inwelcome">
                            欢迎使用
                            <%=Model.ApplicationName %></div>
                        <div class="note">
                            提示：如有任何疑问请点击左下角<span>提交改善意见</span>与开发人员交流。
                        </div>
                        <%--<div class="space">
                            <div style="float: left; margin-left: 16px">
                                空间使用情况：
                            </div>
                            <div id="lodingbar" style="float: left">
                                <div class="barborder">
                                    <div class="barfont">
                                        300MB</div>
                                    <div style="background: url('<%=Url.Content("~/content/images/loading_bg2.gif")%>');
                                        width: 1.12%; height: 13px">
                                        <img height="1" src="" width="1" alt="" />
                                    </div>
                                </div>
                            </div>
                        </div>--%>
                        <div class="info-nav">
                            <ul>
                                <li class="current" id="tag1"><a style="cursor: pointer" onclick="switchTag('tag1','content1');this.blur();">
                                    用户信息</a> </li>
                            </ul>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="info">
                            <div class="info-in">
                                <div id="content">
                                    <div id="content1" style="height: 200px">
                                        <div class="info-title">
                                        </div>
                                        <table cellspacing="0" cellpadding="0" align="center" border="0">
                                            <tr>
                                                <td style="height: 25px; width: 136px;" align="right">
                                                    服务器名称：
                                                </td>
                                                <td style="height: 25px" colspan="3">
                                                    <span>
                                                        <%=Model.MachineName %>
                                                    </span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" style="width: 136px">
                                                    服务器IP地址：
                                                </td>
                                                <td colspan="3">
                                                    <span width="182px">
                                                        <%=Model.LocalAddress %>
                                                    </span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" style="height: 25px; width: 136px;">
                                                    服务器域名：
                                                </td>
                                                <td style="height: 25px" colspan="3">
                                                    <span width="178px">
                                                        <%=Model.ServerName%>
                                                    </span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" style="height: 25px; width: 136px;">
                                                    &nbsp;HTTP访问端口：
                                                </td>
                                                <td style="height: 25px" colspan="3">
                                                    <span width="180px">
                                                        <%=Model.ServerPort %>
                                                    </span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" style="width: 136px">
                                                    虚拟目录绝对路径：
                                                </td>
                                                <td style="width: 73px">
                                                    <span id="Span1"><span style="width: 500px">
                                                        <%=Model.ApplPhysicalPath %></span> </span>
                                                </td>
                                                <td align="right">
                                                </td>
                                                <td>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right" style="width: 136px">
                                                    &nbsp;服务器浏览器版本：
                                                </td>
                                                <td style="width: 73px">
                                                    <span id="Span2" width="173px">
                                                        <%=Model.ServerView%>
                                                    </span>
                                                </td>
                                                <td align="right">
                                                </td>
                                                <td>
                                                </td>
                                            </tr>
                                            <%--<tr>
                          <td align="right" style="width: 136px">
                              .NET解释引擎版本：
                          </td>
                          <td style="width: 73px"><span id="Span3">
                              <asp:Label ID="runtime" runat="server" Width="173px"></asp:Label></span></td>
                          <td align="right"></td>
                          <td></td>
                        </tr>--%>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </td>
                <td valign="top" align="left" style="height: 490px">
                    <div class="right">
                        <%--<div style="height: 133px">
                            <div class="news">
                                <div class="title">
                                    <div class="title-left">
                                        最新通知</div>
                                </div>
                                <div style="margin: 10px 10px 10px 0px; overflow: auto; height: 60px">
                                    <div style="padding-right: 10px; padding-left: 0px; padding-bottom: 0px; width: 210px;
                                        padding-top: 0px">
                                        <ul>
                                            <li><a href="#">
                                                网站备案紧急通...</a>(2009-6-22)</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>--%>
                        <div class="news" style="height: 234px">
                            <div class="title">
                                <div class="title-left">
                                    身份：
                                    <%foreach (var item in Roles.GetRolesForUser(this.User.Identity.Name)) {%>
                                    <% =item%>
                                    <%} %>
                                </div>
                                <div class="title-right">
                                </div>
                            </div>
                            <%--      <div style="margin-top: 3px; padding-left: 10px; font-weight: bold; color: #5e8e00;
                                height: 20px">
                                <span class="red">拥有的权限</span>
                                <br />
                            </div>
                            <div style="padding-right: 10px; padding-left: 10px; padding-bottom: 10px; line-height: 20px;
                                padding-top: 0px">
                                <div style="overflow: auto; height: 173px">
                                    <div style="padding-right: 10px; padding-left: 10px; padding-bottom: 0px; padding-top: 0px">
                                        <asp:Literal ID="litPopedom" runat="server" />
                                    </div>
                                </div>
                            </div>--%>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
